<?php
 /**
  *
  * motionWeb | A webUI for motion.
  * Copyright (c) 2010-2011 Kyle Hotchkiss Productions
  * Licenced under the GPL.
  *
  * splash.php
  *  View for the splash page.
  *
  */
  
 if (!defined('motionWeb')) header('Location: /');
 
 include 'app/includes/header.php';
 
 $splashPage = new splash();
 $data = $splashPage->data();
 
?>
   <div id="body" class="splash">
    Welcome to <span class="highlight">motionWeb</span>. There <?php if ( $data[0] == 1 ) { echo "is <span class=\"highlight\">1 camera"; } else { echo "are <span class=\"highlight\">" . $data[0] . " cameras"; } ?></span> currently watching <span class="highlight"><?php if ( $data[1] == 1 ) { echo "1 place"; } else { echo $data[1] . " places"; } ?></span>. There were <span class="highlight">35 events</span> in the past 6 hours.
   </div>
<?php include 'app/includes/footer.php'; ?>